//
//  NSString+JSON.h
//  CarService
//
//  Created by Nimo.Yu on 15/1/30.
//  Copyright (c) 2015年 lexingsoft. All rights reserved.
//

#import <Foundation/Foundation.h>

/// 提供和json有关的通用方法
@interface NSString (JSON)

+ (NSData *) jsonDateWithNSDictionary:(NSDictionary *)dict;

+ (id) jsonObjectWithData:(NSData *) data;

+ (NSString *) jsonStringWithNSDictionary:(NSDictionary *) dict;

///单引号Json字符串
+ (NSString *) jsonSingleStringWithNSDictionary:(NSDictionary *) dict;

+ (id) jsonObjectWithNSString:(NSString *) jsonString;

@end
